import 'package:factoryside/generated/json/base/json_convert_content.dart';
import 'package:factoryside/generated/json/base/json_field.dart';

class AddOrderEntity with JsonConvert<AddOrderEntity> {
//	@JSONField(name: "OrderWarehouseID")
//	int orderWarehouseID;
	String name;
	String phone;
	String sparephone;
	String city;
	String addstr;
	int servicetype;
	int guaranteetype;
	List<AddOrderProd> prods;
	int backParts;
	int backAddress;
	int postpaytype;
	@JSONField(name: "ThirdPartyOrderNumber")
	String thirdPartyOrderNumber;
}

class AddOrderProd with JsonConvert<AddOrderProd> {
	@JSONField(name: "BuyingProductsTime")
	String buyingProductsTime;
	@JSONField(name: "FactoryBarCode")
	String factoryBarCode;
	String prodExpressNo;
	int subCategoryID;
	int specifications;
	int factoryBrandname;
	int prodModel;
	@JSONField(name: "Num")
	int num;
	@JSONField(name: "ExpressNo")
	String expressNo;
	String bak;
	List<AddOrderProdsPartsVal> partsVal;
}

class AddOrderProdsPartsVal with JsonConvert<AddOrderProdsPartsVal> {
	int value;
}
